//to reset element-ui default css
.el-upload {
  input[type='file'] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  border-radius: 8px !important;
}

//element ui upload
.upload-container {
  .el-upload {
    width: 90px;
    .el-upload-dragger {
      width: 90px;
      height: 90px;
    }
  }
}
// 文件上传模块ui reset
.upload-warpper .el-upload--picture-card {
  width: 90px;
  height: 90px;
  // line-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.el-upload--picture-card {
  background-color: #fbfdff;
  border: 1px dashed #c0ccda;
  border-radius: 6px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100px;
  height: 100px;
  line-height: 105px;
  vertical-align: top;
}
.upload-warpper .upload-item-warpper {
  display: flex;
  align-items: flex-start;
}
.upload-warpper .el-upload-list--picture-card .el-upload-list__item {
  transition: none;
  width: 90px;
  height: 90px;
}
.upload-warpper .el-upload-list--picture-card .is-success {
  width: 90px;
  height: 90px;
  overflow: hidden;
}
.el-upload-list--picture-card .el-upload-list__item {
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #c0ccda;
  border-radius: 6px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100px;
  height: 100px;
  margin: 0 8px 8px 0;
  display: inline-block;
}
//end

.el-table--mini,
.el-table--small {
  border-radius: 5px !important;
  padding: 1px;
  box-shadow: 0px 0px 0px 0px #ddd;
}

.el-table--mini th,
.el-table--small td {
  padding: 4px 0 !important;
}
.el-table--mini td,
.el-table--small td {
  padding: 0 !important;
}

// .head-container .filter-item {
//   margin-bottom: 4px !important;
// }
.el-form-item--mini.el-form-item,
.el-form-item--small.el-form-item {
  margin-bottom: 15px !important;
}
.vue-treeselect__control {
  height: 32px !important;
}
.el-form-item__error {
  color: #f56c6c;
  font-size: 10px;
  line-height: 1;
  padding-top: 0px;
  position: absolute;
  top: 100%;
  left: 0;
}
.el-select-dropdown__item {
  font-size: 12px !important;
}
.el-input__inner {
  font-size: 12px !important;
}

.el-table--mini td .cell,
.el-table--small td .cell {
  padding: 0 10px !important;
  height: 41px;
  line-height: 41px;
  text-overflow: clip;
  overflow: hidden !important;
  // cursor: pointer;
  // white-space: nowrap !important;
}
.el-table--mini td .cell .el-table__expand-icon,
.el-table--small td .cell .el-table__expand-icon {
  height: 100%;
}
.el-table--mini td .cell .el-input input,
.el-table--small td .cell .el-input input {
  height: 41px;
  line-height: 41px;
  padding: 0 10px !important;
}
.date-table td .cell .el-date-editor input {
  padding-left: 30px !important;
}
.right-input .el-input__inner {
  text-align: right;
}
.input-table td .cell {
  padding: 0 !important;
  .span {
    padding: 0 10px;
  }
  .ms-tree-space {
    margin-left: 10px;
  }
}
.time-input-table td .cell {
  .el-input {
    width: 100%;
    .el-input__inner {
      border: none;
    }
    .el-input__prefix {
      display: none;
    }
  }
  + .el-input {
    padding: 0 !important;
  }
}
.input-table .el-table__footer-wrapper td .cell {
  padding: 0 10px !important;
}
.finance-table {
  .table-input,
  .table-input-2 {
    .el-input__inner {
      border: none;
      padding: 0;
    }
  }
  .el-select .el-input input {
    border: none;
    padding: 0;
  }
}
.transparent-divider .el-divider__text {
  background: #f7f7f7;
}
//自定义表头样式表
.el-table--small {
  .table-column-edit {
    padding: 0 !important;
    .cell {
      padding: 0 !important;
      .self-header {
        padding: 0 !important;
        .s-tab {
          padding: 0 !important;
        }
      }
      .self-column {
        height: 41px;
        line-height: 41px;
      }
      .el-input .el-input__inner {
        border: none !important;
        border-radius: 0 !important;
        background: #f0f9eb;
      }
    }
  }
}
//pc一屏高度
.screen-height {
  min-height: calc(100vh - 112px);
}
.el-divider--horizontal {
  margin: 15px 0 !important;
}
.date-pic {
  width: 100% !important;
}
.date-pic .el-input__inner {
  border: none;
  width: 100%;
  background: transparent;
}
.category-list .el-card__header {
  font-weight: 600;
}
.category-list .el-card__body {
  overflow: hidden;
  overflow-x: scroll;
  font-weight: 600;
  font-size: 13px;
}
.category-list .el-card__body .el-tree-node__children {
  overflow: unset;
}
.pay-add-radio .el-radio__label {
  display: none;
}
.el-table__fixed-footer-wrapper {
  display: none;
}
.el-date-editor {
  width: 100% !important;
}
.el-input--mini .el-input__inner {
  height: 32px;
  line-height: 32px;
}
.el-input.is-disabled .el-input__inner {
  background: #fff !important;
}
.el-form-item--small .el-form-item__content,
.el-form-item--small .el-form-item__label {
  font-size: 12.5px !important;
}
.tip-form .el-form-item .el-form-item__content {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// 富文本详情文字换行展示
.form-item-desc .el-form-item .el-form-item__content {
  white-space: pre-wrap;
}
.text-ecllipse-height .text-ecllipse__content p {
  margin: 0;
}

//end
.el-table
  el-table--fit
  el-table--scrollable-x
  el-table--enable-row-hover
  el-table--enable-row-transition {
  font-size: 12px !important;
}
.el-tabs__content {
  margin-bottom: 20px;
}
.el-pagination {
  margin-top: 8px;
  float: right !important;
  margin-bottom: 35px !important;
}
.el-dialog__header {
  background-color: #1f75cb;
  border-radius: 6px 6px 0px 0px;
  padding: 10px !important;
  color: #fff;
  .el-dialog__title {
    color: #fff !important;
    font-weight: bold !important;
  }
  .el-icon-close:before {
    color: #fff !important;
    font-weight: bold !important;
  }
}
.menu-pointer .el-icon-close:before {
  color: #ccc !important;
}
.el-dialog__headerbtn {
  top: 12.5px !important;
}
.el-step__head.is-finish {
  color: #67c23a !important;
  border-color: #67c23a !important;
}
.el-step__title {
  font-weight: bold !important;
  font-size: 12px !important;
}
.el-step__title.is-finish {
  color: #67c23a !important;
}
.el-step__title.is-process {
  color: #1890ff !important;
}
.el-step__head.is-process {
  color: #1890ff !important;
}

.el-table .warning-row {
  //background: oldlace !important;
  color: #e6a23c !important;
}

.el-table .success-row {
  background: #f0f9eb !important;
}
.fs-table-jf .el-table__footer-wrapper td:nth-child(6) {
  color: #ff4949;
}
.fs-table-df .el-table__footer-wrapper td:nth-child(7) {
  color: #ff4949;
}

.el-table .err-row {
  //background: #ffdddd !important;
  color: #f56c6c !important;
}
.width-eclipse-form .width-eclipse-form-item .el-form-item__content {
  max-width: 270px;
}
.tip-form .form_item_select .el-form-item__content {
  overflow: visible !important;
}

.video-js .vjs-big-play-button {
  margin-top: 35% !important;
  margin-left: 30% !important;
}

.attribute-form .el-form-item {
  margin-bottom: 0 !important;
}

// treeselect is-error
.el-form-item.is-error .cate-form .vue-treeselect__control {
  border: 1px solid #ff4949;
}

//可编辑输入框
td.edit-input .cell {
  background: #ebf9ed !important;
  .el-input__inner {
    background: #ebf9ed !important;
  }
}
.el-dialog__body {
  padding: 10px 20px;
  color: #606266;
  font-size: 14px;
  word-break: break-all;
  & + .el-dialog__footer {
    margin-top: -10px;
  }
}

.el-dialog__footer {
  padding: 10px 20px;
  text-align: right;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.el-form-item__label {
  text-align: right;
  vertical-align: middle;
  float: left;
  font-size: 12.5px;
  color: #606266;
  line-height: 40px;
  padding: 0 10px 0 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.el-submenu__title {
  height: 39px;
  line-height: 40px;
  position: relative;
  -webkit-box-sizing: border-box;
  white-space: nowrap;
  list-style: none;
  font-weight: bold;
}

.el-submenu .el-menu-item {
  height: 39px;
  line-height: 36px;
  padding: 0 45px;
  min-width: 200px;
  font-weight: 500;
}

.el-form-item {
  margin-bottom: 10px;
}

.el-textarea {
  vertical-align: middle;
}

.el-select {
  width: 100%;
}

.el-form-item__content .el-input-group {
  vertical-align: middle;
}

.el-form-item--mini.el-form-item,
.el-form-item--small.el-form-item {
  margin-bottom: 15px !important;
}

.el-image-viewer__wrapper {
  .el-image-viewer__close {
    background: white;
  }
}

.el-card__header {
  padding: 12px 20px;
  border-bottom: 1px solid #ebeef5;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.el-card__body {
  padding: 10px;
}

.el-select .el-input__inner {
  cursor: pointer;
  padding-right: 35px;
  height: 32px;
}

.el-form-item__content {
  // line-height: 40px;
  position: relative;
  // font-size: 12.6px;
}

.vxe-toolbar {
  font-size: 14px;
  height: 50px;
  margin-top: -7px;
}

.vxe-header--column .vxe-cell--title {
  line-height: 1.5;
  font-size: 12.7px;
}

.vxe-table--render-default .vxe-table--border-line {
  z-index: 2 !important;
}

.el-tag--dark.el-tag--success {
  background-color: #67c23a;
  border-color: #67c23a;
  color: #fff;
  margin-right: 3px;
  margin-bottom: 3px;
}

.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
  background-color: #cae2fd;
  font-weight: 600;
}

.el-card {
  border: 1px solid #d6dce9;
  background-color: #fff;
  color: #303133;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.el-card__header {
  font-size: 17px;
  padding: 12px 20px;
  border-bottom: 1px solid #ebeef5;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  align-content: center;
}
